# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-fsspec
pkgver=0.8.0
pkgrel=2
pkgdesc="A specification for pythonic filesystems"
url="https://github.com/intake/filesystem_spec"
arch="noarch !mips !mips64 !s390x" # mips* Blocked by py3-numpy, s390x: py3-distributed
license="BSD-3-Clause"
depends="python3"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-numpy py3-pygit2 py3-requests py3-paramiko py3-pyftpdlib py3-cloudpickle py3-lz4 py3-aiohttp"
source="https://github.com/intake/filesystem_spec/archive/$pkgver/filesystem_spec-$pkgver.tar.gz"
builddir="$srcdir/filesystem_spec-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="c87f7122ff2febc106bb375ab427bd0f20e47c6b00567fd104b02c5db15e86ae2b348d7941a2bd2fdd12a6b8edce5a6d07856233cd14807df061ba5144f7f592  filesystem_spec-0.8.0.tar.gz"
